<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<%--
  Created by IntelliJ IDEA.
  User: E550
  Date: 2017/9/13
  Time: 1:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <c:import url="/WEB-INF/jsp/frontend/head.jsp" />
    <c:import url="/WEB-INF/jsp/frontend/script.jsp" />
    <c:import url="/WEB-INF/jsp/frontend/createActivity/head.jsp" />
    <title>发布活动</title>
</head>
<body>
<div class="head">

    <c:import url="/WEB-INF/jsp/frontend/header.jsp" />
</div>
<div class="row" id="container">



    <div class="col-md-12 col-md-6 create-activity">
        <div class="create-activity-index">发布活动</div>
        <div type="" name="" class="create-activity-btn"><a href="javascript:ShowDiv('Div','mask');">发布</a></div>
        <input type="text" name="" placeholder="这里输入主题" class="create-activity-title"/>


        <textarea name="" placeholder="请输入简介" class="create-activity-intro"></textarea>



    </div>

</div>

<a href="javascript:CloseDiv('Div','mask');" onclick="CloseDiv('Div','mask')"><div id="mask" display="none"></div></a>



<div class="row out-div" id="Div">



    <div class="col-md-12 col-md-6 create-activity-detail">
        <div class="create-activity-holder-deatil">发布者信息</div>
        <div type="" name="" class="create-activity-detail-btn"><a href="">发布</a></div>

        <input type="text" name="" placeholder="这里输入姓名" class="create-activity-detail-name create-activity-detail-info"/>
        <input type="text" name="" placeholder="这里输入电话" class="create-activity-detail-tele create-activity-detail-info"/>
        <input type="text" name="" placeholder="这里输入邮箱" class="create-activity-detail-email create-activity-detail-info"/>
        <input type="text" name="" placeholder="这里输入简介" class="create-activity-detail-introduction create-activity-detail-info"/>

        <div class="create-activity-holder-head">
            <span>发布者.jpg</span>
            <div class="pic-logo"></div>
        </div>

        <div class="create-activity-poster">
            <span>点击上传活动海报</span>
            <div class="pic-logo"></div>
        </div>








    </div>

</div>


<script type="text/javascript">
    function CloseDiv(Div,mask)
    {
        document.getElementById(Div).style.opacity = "0.5";
        document.getElementById(Div).style.transform = "scale(0,0)";
        document.getElementById(Div).style.transition = "transform 1s";
        document.getElementById(mask).style.display='none';
    }
    function ShowDiv(Div, mask){
        var sHeight=document.documentElement.scrollHeight;
        var sWidth=document.documentElement.scrollWidth;
        var oMask=document.getElementById(mask);
        oMask.style.height=sHeight+"px";
        oMask.style.width=sWidth+"px";
        document.getElementById(mask).style.display = "block";

        document.getElementById(Div).style.opacity = "1";
        document.getElementById(Div).style.transform = "scale(1,1)";
        document.getElementById(Div).style.transition = "transform 1s";

    }
</script>
</body>
</html>
